package com.orange.example;

import lombok.extern.slf4j.Slf4j;
import org.slf4j.MDC;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import sun.misc.Lock;

import java.util.concurrent.Executor;
import java.util.concurrent.Executors;

/**
 * Hello world!
 */
@SpringBootApplication
@Slf4j
public class Application
{
    public static void main( String[] args )
    {
        //开始异步日志的配置
//        System.setProperty("Log4jContextSelector", "org.apache.logging.log4j.core.async.AsyncLoggerContextSelector");
        SpringApplication.run(Application.class, args);
    }
}
